#qa-bot-icon {
  position: fixed;
  right: 30px;
  bottom: 30px;
  cursor: pointer;
  z-index: 9999;
  text-align: center;
}

#qa-bot-popup-container {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

#qa-bot-popup {
  width: 800px;
  max-height: 600px;
  overflow-y: auto;
  background-color: #f3f2ef;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#qa-bot-message-list {
  max-height: 500px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.qa-bot-message, .qa-bot-user-message {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #d1d1d1;
}

.qa-bot-message-icon, .qa-bot-user-message-icon {
  font-weight: bold;
  margin-right: 10px;
}

.qa-bot-message-text, .qa-bot-user-message-text {
  flex-grow: 1;
}

#qa-bot-user-input {
  display: flex;
  align-items: center;
}

#qa-bot-question-input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  background-color: #e1e0dd;
}

#qa-bot-submit-button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
}

#qa-bot-submit-button:disabled {
  background-color: #ccc;
}

#qa-bot-loading-icon {
  display: none;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: qa-bot-spin 1s linear infinite;
}

@keyframes qa-bot-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#qa-bot-powered-by {
  font-size: 12px;
  margin-top: 10px;
  text-align: center;
}

#qa-bot-powered-by a {
  color: #777;
  text-decoration: none;
}

#qa-bot-powered-by a:hover {
  text-decoration: underline;
}

#qa-bot-powered-by svg {
  vertical-align: middle;
  margin-right: 5px;
}